package com.wechatpay.v3.sdk.data;

import java.io.Serializable;

/**
 * 微信退款 - 数据返回
 *
 * @author liuyi <liuy@pvc123.com>
 * @since 2021/8/18
 */
public class WechatRefundResponseData implements Serializable {

    /** 微信支付退款单号 */
    private String refund_id;
    /** 商户退款单号 */
    private String out_refund_no;
    /** 微信支付订单号 */
    private String transaction_id;
    /** 商户订单号 */
    private String out_trade_no;
    /** 退款渠道 */
    private String channel;
    /** 退款入账账户 */
    private String user_received_account;
    /** 退款状态 */
    private String status;
    /** 金额信息 */
    private WechatRefundRequestData.Amount amount;

    public String getRefund_id() {
        return refund_id;
    }

    public WechatRefundResponseData setRefund_id(String refund_id) {
        this.refund_id = refund_id;
        return this;
    }

    public String getOut_refund_no() {
        return out_refund_no;
    }

    public WechatRefundResponseData setOut_refund_no(String out_refund_no) {
        this.out_refund_no = out_refund_no;
        return this;
    }

    public String getTransaction_id() {
        return transaction_id;
    }

    public WechatRefundResponseData setTransaction_id(String transaction_id) {
        this.transaction_id = transaction_id;
        return this;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public WechatRefundResponseData setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
        return this;
    }

    public String getChannel() {
        return channel;
    }

    public WechatRefundResponseData setChannel(String channel) {
        this.channel = channel;
        return this;
    }

    public String getUser_received_account() {
        return user_received_account;
    }

    public WechatRefundResponseData setUser_received_account(String user_received_account) {
        this.user_received_account = user_received_account;
        return this;
    }

    public String getStatus() {
        return status;
    }

    public WechatRefundResponseData setStatus(String status) {
        this.status = status;
        return this;
    }

    public WechatRefundRequestData.Amount getAmount() {
        return amount;
    }

    public WechatRefundResponseData setAmount(WechatRefundRequestData.Amount amount) {
        this.amount = amount;
        return this;
    }
}
